package com.evon.yardmanagement.export;

import java.util.List;

/**
 * Provides data and header for export able models.
 * @author vgaurav
 *
 */
public interface ExportableData {
	
	/**
	 * @return the column count 
	 */
	public int getColumnCount();
	
	
	public ExportCellType getColumnClass(int columnNumber);
	
	/**
	 * @return the row count of the export data.
	 */
	public int getRowCount();

	/**
	 * @return the list of column headers.
	 */
	public List<String> getColumnHeader();
	
	/**
	 * Return the data of the cell @row and @column
	 * @param row
	 * @param column
	 * @return
	 */
	public String getValueAt(int row, int column);
	
	/**
	 * Return the name which has to be set in the spread sheet while export.
	 * @return
	 */
	public String getDataName();
	
	
}
